package com.liruo.learn.spring.security.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer;

/**
 * @Author:liruo
 * @Date:2023-05-02-14:01:54
 * @Desc web安全配置
 */
public class WebSecurityConfiguration{

    /**
     * @return  web安全配置
     */
    @Bean
    public WebSecurityCustomizer webSecurityCustomizer() {
        return web -> web
                .debug(true);
    }
}
